project(pthreaddemo)
cmake_minimum_required(VERSION 3.1)

find_package(Threads REQUIRED)

add_executable(creationdemo creationdemo.c)
target_link_libraries (creationdemo Threads::Threads)

add_executable(mutexdemo mutexdemo.c)
target_link_libraries(mutexdemo Threads::Threads)

add_executable(processshared processshared.c)
target_link_libraries(processshared Threads::Threads)
